package com.easypoi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * t_person
 *
 * @author
 */
@Data
public class Person implements Serializable {
  @Excel(name = "用户编号", width = 20)
  private Long id;

  @Excel(name = "用户名称", width = 20)
  private String username;

  @Excel(name = "用户口令", width = 20,isColumnHidden = true)
  private String password;

  @Excel(name = "出生日期", width = 20,exportFormat = "yyyy-MM-dd")
  private Date birth;

  @Excel(name = "用户性别", width = 20)
  private Boolean sex;

  @Excel(name = "用户薪资", width = 20)
  private BigDecimal salary;

  @Excel(name = "用户电话", width = 20)
  private Long phone;

  @Excel(name = "用户住址", width = 20)
  private String address;

  private static final long serialVersionUID = 1L;
}
